Charting::Chart SvgToBmp Method

Syntax

.SvgToBmp as B (svg as C)

Arguments

svg

SVG Image Content

Description

Converts SVG content into windows BMP file content.

Example

dim svg as c = <<%str%
<svg height="100" width="100">
  <circle cx="50" cy="50" r="40" stroke="black" stroke-width="3" fill="red" />
</svg> 
%str%
dim bl as b = charting::Chart::SvgToBmp(svg)
file.from_blob("c:\data\circle.bmp",bl)